package main

import "flag"

const Version = "1.0.1"

type Option struct {
	PrintVersion bool
}

var option Option

// We want to replace this variable at build time with "-ldflags -X main.GitBranch=xxx", where const is not supported.
var GitBranch = ""

// We want to replace this variable at build time with "-ldflags -X main.GitSHA=xxx", where const is not supported.
var GitSHA = ""

var BuildAt = ""

func init() {
	flag.BoolVar(&option.PrintVersion, "version", false, "print version and exit")
}
